package com.jiangyg.mall.ware.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 类描述：库存工作单
 * 
 * @author jiangyg
 * @email email@jiangyg.com
 * @date 2021-10-18 22:33:26
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
@TableName("mw_ware_order_task_detail")
public class WareOrderTaskDetail implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@TableField("id")
	private Long id;

	/**
	 * 工作单id
	 */
	@TableField("task_id")
	private Long taskId;

	/**
	 * sku_id
	 */
	@TableField("sku_id")
	private Long skuId;

	/**
	 * sku_name
	 */
	@TableField("sku_name")
	private String skuName;

	/**
	 * 购买个数
	 */
	@TableField("sku_quantity")
	private Integer skuQuantity;

	/**
	 * 仓库id
	 */
	@TableField("ware_id")
	private Long wareId;

	/**
	 * 1-已锁定  2-已解锁  3-扣减
	 */
	@TableField("status")
	private Integer status;

}
